package com.zyzd.general.module.tipdialog;

import com.zyzd.general.entity.local.TipDialogEntity;
import com.zyzd.general.model.ManagerListModel;
import com.zyzd.retrofit.base.BaseRecyclerPresenter;

/**
 * Created by lzy on 2018/6/5 0005.
 * description ${信息对话框 Presenter}
 */
public class TipDialogPresenter extends BaseRecyclerPresenter<TipDialogContract.IView, TipDialogEntity> implements TipDialogContract.IPresenter{
    private ManagerListModel mModel;

    @Override
    public void loadData(boolean isRefresh) {
        onLoadDataSuccess(isRefresh, mModel.getTipDialogData());
    }

    @Override
    protected void createModel() {
        mModel = ManagerListModel.getInstance();
    }
}
